package com.campus.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
* 
* @TableName sign_in
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sign_in")
public class SignInEntity implements Serializable {
    public SignInEntity(String account,Integer no,Integer floor,Integer doorplate,Integer bednumber,Date date){
        this.account=account;
        this.buildingNo=no;
        this.floor=floor;
        this.doorplate=doorplate;
        this.bednumber=bednumber;
        this.date=date;
    }

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 用户账号
    */
    private String account;
    /**
    * 宿舍编号
    */
    private Integer buildingNo;
    /**
    * 楼层数
    */
    private Integer floor;
    /**
    * 门牌号
    */
    private Integer doorplate;
    /**
    * 床位号
    */
    private Integer bednumber;
    /**
    * 打开日期
    */
    private Date date;

}
